
<?php echo $this->load->view($menu_member); ?>
<div class="content-skeleton">

	<div class="some_blank_space"></div>

		<?php if($gets_wisata==NULL){ ?>
		<h1>Anda Belum Menambahkan Wisata!</h1>
		<?php } ?>

	<div class="portfolio-content">


		<?php
		foreach ($gets_wisata as $key => $get_wisata) {
		?>

		<ul class="grid cs-style">
			<li class="portfolio-item col- portofolio ">
				<figure>
					<img src="<?php echo base_url() . $get_wisata->url_gambar_wisata; ?>" alt="<?php echo $get_wisata->judul_wisata; ?>" />
					<figcaption>
						<h6><a href="<?php echo base_url(); ?>modul/wisata/view/<?php echo $get_wisata->id_wisata; ?>"><?php echo $get_wisata->judul_wisata; ?></a></h6>
						<a href="<?php echo base_url(); ?>modul/wisata/view/<?php echo $get_wisata->id_wisata; ?>" class="circle-arrow"></a>
					</figcaption>
				</figure>
			</li>
		</ul>

		<?php
		}
		?>

	</div><!--/portfolio-content -->


	<?php if($gets_wisata!=NULL){ ?>
	<div class="pagination-wrap">
		<span>Page <?php echo $posisi; ?> of <?php echo $total_page; ?></span>

			<?php
	        for($i=1;$i<=$total_page;$i++){
	            if($i==1){
	                if($i==$posisi) echo "<span class=current>$i</span>"; 
	                else echo anchor($base_url,$i,'class="inactive"');
	            } else if ($i==$posisi){
	            	echo "<span class=current>$i</span>";
	            } else {
	                echo anchor($base_url . '/' . $i,$i,'class="inactive"');
	            }
	        }
	        ?>

	</div>
	<?php } ?>

	<div class="some_blank_space"></div>